package com.mfz.common.servlet

/**
 * 针对请求的类型。每一个请求可设置这些类型之一。
 * 需要每次请求都带着。并且放在请求头内
 */
enum class HttpRequestType(val value: Int, val description: String) {
	LOGOUT(99,"登出"),
	LOGIN(98,"登录"),
	LOGIN_MIN_APP(98,"小程序登录"),
	REGISTER(97,"注册"),

	SELECT(0,"列选择框"),
	FIND(0,"查找"),
	GET(0,"得到"),
	LIST(1,"查询列表"),
	LOAD(1,"查询内容"),
	DETAIL(1,"查看明细内容"),

	ADD(2,"新增"),
	MODIFY(3,"修改"),
	UPDATE(4,"更新"),
	EXECUTE(5,"执行"),
	AUDIT(7,"审核"),
	RESUME(9,"恢复"),
	DELETE(10,"删除"),
	PAUSE(11,"暂停"),

	DOWNLOAD(91,"下载"),
	PRINT(92,"打印"),
	EXPORT(93,"导出"),
	IMPORT(94,"导入"),
	/**
	 * 扣款
	*/
	DEDUCTION(12,"扣款"),
	RESET(13,"设置"),
	CANCEL(14,""),
	/**
	 * 充值
	*/
	RECHARGE(15,"充值"),
	/**
	 * 冻结
	*/
	FREEZE(16,"冻结"),
	/**
	 * 解冻
	*/
	UNFREEZE(17,"解冻"),
	/**
	 * 提成列表记录
	*/
	BROKERAGE(20,""),
	/**
	 * 提现列表记录
	 */
	WITHDRAW(21,""),
	/**
	 * 增加明细
	 */
	ADD_DETAIL(23,"增加明细"),
	REMOVE_DETAIL(24,"删除明细"),
	TEST(-1,""),
}
